package com.mall.web.control.app;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/common/")
public class CommonController {
	
	@RequestMapping("h5daohang")
	public String h5daohang(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap) {
		String gaodeLatitude = request.getParameter("gaodeLatitude");
		String gaodeLongitude = request.getParameter("gaodeLongitude");
		modelMap.put("gaodeLatitude", gaodeLatitude);
		modelMap.put("gaodeLongitude", gaodeLongitude);
		return "home/common/h5daohang";
	}

}
